# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         demo3.01
# Description:  print函数
# Author:       $赵怡蕾
# Date:         2019/1/22
#-------------------------------------------------------------------------------

# 输出用空格分隔的多参数值
print("name =","Bill")
# 输出用空格分隔的多参数值
print("age =",30)
# 使用加号（+）连接字符串
print("Apple" + "," + "Orange" + "," + "Banana")
# 修改多参数值分隔符为逗号(,)，然后输出多参数值
print("Apple","Orange","Banana",sep=",")
# 修改多参数值分隔符为"&"，然后输出多参数值
print("Can","you","tell","me","how","to","get","to","the","nearest","tube","station",sep="&")
# 修改输出字符串结尾符为空格，这样下一次调用print函数，就会从同一行输出内容了
# 运行结果：Hello World
print("Hello",end=" ")
print("World")
# 修改输出字符串结尾符为长度为0的字符串，这样下一次调用print函数，输出的内容不仅会在同一行，
# 而且会首尾相接，运行结果：abc
print("a",end="")
print("b",end="")
print("c")